package com.panda.system.domain;

import com.panda.common.annotation.Excel;
import com.panda.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.Date;

/**
 * 评价任务看板对象 t_panda_evalution_task
 * 
 * @author panda
 * @date 2021-02-28
 */
public class TPandaEvalutionTask extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** 任务明细ID */
    @Excel(name = "任务明细ID")
    private String taskDetailId;

    /** 评价类型 */
    @Excel(name = "评价类型")
    private Integer evalutionType;

    /** 状态（0新建 1已完成） */
    @Excel(name = "状态", readConverterExp = "0=新建,1=已完成")
    private String status;

    /** 责任人 ID */
    @Excel(name = "责任人 ID")
    private Long responsibleUserId;


    /**
     * ==============扩展字段======================
     */

    /** 买家旺旺 */
    @Excel(name = "买家旺旺")
    private String buyerNick;


    /** 店铺名称 */
    @Excel(name = "店铺名称")
    private String storeName;

    /** 产品名称 */
    @Excel(name = "产品名称")
    private String productName;

    /** 操作员 */
    @Excel(name = "操作员")
    private String userName;
    /** 任务名称 */
    @Excel(name = "任务名称")
    private String taskName;

    /** 微信号 */
    @Excel(name = "微信号")
    private String wxCode;

    /** 淘宝订单号 */
    @Excel(name = "淘宝订单号")
    private String orderNo;

    private String dateSuchType;

    private Date startTime;
    private Date endTime;

    private Date paymentTime;


    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setTaskDetailId(String taskDetailId) 
    {
        this.taskDetailId = taskDetailId;
    }

    public String getTaskDetailId() 
    {
        return taskDetailId;
    }
    public void setEvalutionType(Integer evalutionType) 
    {
        this.evalutionType = evalutionType;
    }

    public Integer getEvalutionType() 
    {
        return evalutionType;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }
    public void setResponsibleUserId(Long responsibleUserId) 
    {
        this.responsibleUserId = responsibleUserId;
    }

    public Long getResponsibleUserId() 
    {
        return responsibleUserId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("taskDetailId", getTaskDetailId())
            .append("evalutionType", getEvalutionType())
            .append("status", getStatus())
            .append("responsibleUserId", getResponsibleUserId())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }

    public String getBuyerNick() {
        return buyerNick;
    }

    public void setBuyerNick(String buyerNick) {
        this.buyerNick = buyerNick;
    }

    public String getStoreName() {
        return storeName;
    }

    public void setStoreName(String storeName) {
        this.storeName = storeName;
    }

    public String getProductName() {
        return productName;
    }

    public void setProductName(String productName) {
        this.productName = productName;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getTaskName() {
        return taskName;
    }

    public void setTaskName(String taskName) {
        this.taskName = taskName;
    }

    public String getDateSuchType() {
        return dateSuchType;
    }

    public void setDateSuchType(String dateSuchType) {
        this.dateSuchType = dateSuchType;
    }

    public Date getStartTime() {
        return startTime;
    }

    public void setStartTime(Date startTime) {
        this.startTime = startTime;
    }

    public Date getEndTime() {
        return endTime;
    }

    public void setEndTime(Date endTime) {
        this.endTime = endTime;
    }

    public String getWxCode() {
        return wxCode;
    }

    public void setWxCode(String wxCode) {
        this.wxCode = wxCode;
    }

    public String getOrderNo() {
        return orderNo;
    }

    public void setOrderNo(String orderNo) {
        this.orderNo = orderNo;
    }

    public Date getPaymentTime() {
        return paymentTime;
    }

    public void setPaymentTime(Date paymentTime) {
        this.paymentTime = paymentTime;
    }
}
